package com.sky;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * @author
 * @date 2023/3/11 20:25
 **/
@Configuration
public class ListConfiguration {
    @Bean
    public List<Integer> listInteger() {
        List<Integer> list = new ArrayList<>();
        list.add(1);
        list.add(2);

        return list;
    }
}
